/// branchId : 6627
/// createDate : "2022-04-03 18:36:29"
/// createName : "超级管理员"
/// createdBy : "5"
/// createdDate : "2022-04-03 18:36:29"
/// deleteStatus : 0
/// humanId : 8959
/// id : 53
/// officeId : 9026
/// officeName : "康复部"
/// saasId : 1000
/// sex : 1
/// sexName : "女"
/// staffId : 8961
/// tenantId : 1000
/// type : 0
/// updatedBy : "5"
/// updatedDate : "2022-04-03 18:36:29"
/// userId : 8961
/// userMobile : "17900000000"
/// userName : "王冰"

class EmployeeListData {
  EmployeeListData({
      this.branchId, 
      this.createDate, 
      this.createName, 
      this.createdBy, 
      this.createdDate, 
      this.deleteStatus, 
      this.humanId, 
      this.id, 
      this.officeId, 
      this.officeName, 
      this.saasId, 
      this.sex, 
      this.sexName, 
      this.staffId, 
      this.tenantId, 
      this.type, 
      this.updatedBy, 
      this.updatedDate, 
      this.userId, 
      this.userMobile, 
      this.userName,});

  EmployeeListData.fromJson(dynamic json) {
    branchId = json['branchId'];
    createDate = json['createDate'];
    createName = json['createName'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    deleteStatus = json['deleteStatus'];
    humanId = json['humanId'];
    id = json['id'];
    officeId = json['officeId'];
    officeName = json['officeName'];
    saasId = json['saasId'];
    sex = json['sex'];
    sexName = json['sexName'];
    staffId = json['staffId'];
    tenantId = json['tenantId'];
    type = json['type'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
    userId = json['userId'];
    userMobile = json['userMobile'];
    userName = json['userName'];
  }
  num? branchId;
  String? createDate;
  String? createName;
  String? createdBy;
  String? createdDate;
  num? deleteStatus;
  num? humanId;
  num? id;
  num? officeId;
  String? officeName;
  num? saasId;
  num? sex;
  String? sexName;
  num? staffId;
  num? tenantId;
  num? type;
  String? updatedBy;
  String? updatedDate;
  num? userId;
  String? userMobile;
  String? userName;
EmployeeListData copyWith({  num? branchId,
  String? createDate,
  String? createName,
  String? createdBy,
  String? createdDate,
  num? deleteStatus,
  num? humanId,
  num? id,
  num? officeId,
  String? officeName,
  num? saasId,
  num? sex,
  String? sexName,
  num? staffId,
  num? tenantId,
  num? type,
  String? updatedBy,
  String? updatedDate,
  num? userId,
  String? userMobile,
  String? userName,
}) => EmployeeListData(  branchId: branchId ?? this.branchId,
  createDate: createDate ?? this.createDate,
  createName: createName ?? this.createName,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  humanId: humanId ?? this.humanId,
  id: id ?? this.id,
  officeId: officeId ?? this.officeId,
  officeName: officeName ?? this.officeName,
  saasId: saasId ?? this.saasId,
  sex: sex ?? this.sex,
  sexName: sexName ?? this.sexName,
  staffId: staffId ?? this.staffId,
  tenantId: tenantId ?? this.tenantId,
  type: type ?? this.type,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
  userId: userId ?? this.userId,
  userMobile: userMobile ?? this.userMobile,
  userName: userName ?? this.userName,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['branchId'] = branchId;
    map['createDate'] = createDate;
    map['createName'] = createName;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['deleteStatus'] = deleteStatus;
    map['humanId'] = humanId;
    map['id'] = id;
    map['officeId'] = officeId;
    map['officeName'] = officeName;
    map['saasId'] = saasId;
    map['sex'] = sex;
    map['sexName'] = sexName;
    map['staffId'] = staffId;
    map['tenantId'] = tenantId;
    map['type'] = type;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    map['userId'] = userId;
    map['userMobile'] = userMobile;
    map['userName'] = userName;
    return map;
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is EmployeeListData &&
          runtimeType == other.runtimeType &&
          id == other.id &&
          userName == other.userName;

  @override
  int get hashCode => id.hashCode ^ userName.hashCode;
}